import Vue from 'vue'
import { sessionStore } from 'store/dist/store.legacy'
const state = {
  list: [],
  page: 0,
  url: process.env.VUE_APP_prayerList_url,
}

const actions = {
  changeList ({ state, commit }, param) {
    let page = state.page
    if (page == 0) {
      page = sessionStore.get('prayerPage') || 0
    }

  }
}

export default {
  namespaced: true,
  state,
  actions
}